package com.zhongyu.consumer.service;


import com.zhongyu.consumer.vo.RespData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = "http://wthrcdn.etouch.cn",name = "weatherClient")
public interface WeatherClient {

    @GetMapping("/weather_mini")
    public String searchWeather(@RequestParam("city") String cityName);

}
